﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="quenmatkhau.aspx.cs" Inherits="quenmatkhau" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div align="center" style="background-color: #f7f3f3">
        <br />
        <asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Size="X-Large" Font-Strikeout="False"
            Font-Underline="True" ForeColor=" #40698F" Text="QUÊN MẬT KHẨU"></asp:Label>
        <br />
        <br />
        <table style="background-color: #f7f3f3; width: 740px; padding-left: 20px" cellpadding="0"
            cellspacing="0" align="center">
            <tr>
                <td style="width: 167px; height: 21px" align="right">
                    Tên Đăng Nhập&nbsp;&nbsp;&nbsp;&nbsp;
                </td>
                <td style="padding-left: 0px" align="left">
                    <asp:TextBox ID="txttendn" runat="server" Width="50%"></asp:TextBox>
                    <br />
                </td>
            </tr>
            <tr>
                <td style="width: 167px; height: 21px" align="right">
                    Email:&nbsp;&nbsp;&nbsp;&nbsp;
                </td>
                <td style="padding-left: 0px" align="left">
                    <asp:TextBox ID="txtemail" runat="server" Width="50%" MaxLength="100"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
                             ErrorMessage="Bạn hãy nhập đúng cú pháp của Email" ControlToValidate="txtemail" 
                             Display="Dynamic" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" 
                        ValidationGroup="doimk"></asp:RegularExpressionValidator>
                         <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                             ControlToValidate="txtemail" Display="Dynamic" 
                             ErrorMessage="Bạn hãy nhập Email đúng chuẩn nhé!" 
                        ValidationGroup="doimk"></asp:RequiredFieldValidator>
                    <br />
                </td>
            </tr>
            <tr style="padding-top: 10px">
                <td style="width: 167px; height: 21px">
                </td>
                <td style="padding-left: 0px;" align="left">
                    <asp:Button ID="btnlaymatkhau" runat="server" Width="100px" Text="Đổi Mật Khẩu " 
                        onclick="btnlaymatkhau_Click" ValidationGroup="doimk" />
                    &nbsp; &nbsp;
                    <asp:Button ID="bthuy" runat="server" Width="100px" Text="Hủy" 
                        onclick="bthuy_Click"  />
                </td>
            </tr>
            <tr>
            <td colspan="2" align="center" style="padding-top: 10px">
                <asp:Label ID="lbloi" runat="server" Text=""></asp:Label>
            </td>
            </tr>
        </table>
    </div>
</asp:Content>

